package net.maku.convert;


import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import net.maku.bean.vo.WebIncomeRecordVO;
import net.maku.entity.WebIncomeRecordEntity;

import java.util.List;

/**
* 返利记录表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-06
*/
@Mapper
public interface WebIncomeRecordConvert {
    WebIncomeRecordConvert INSTANCE = Mappers.getMapper(WebIncomeRecordConvert.class);

    WebIncomeRecordEntity convert(WebIncomeRecordVO vo);

    WebIncomeRecordVO convert(WebIncomeRecordEntity entity);

    List<WebIncomeRecordVO> convertList(List<WebIncomeRecordEntity> list);

}